package com.entity;

import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@TableName("t_merchant")
public class Merchant {
    private Integer id;
    private Integer merchantCode;
    private String password;
    private String merchantName;
    private String address;
    private String phone;
    private String email;
    private String businessLicensePath;
    private String storePhotosPaths;
    private String introduction;
    private Double balance;
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat
    private Date addTime;
    private Date updateTime;
}
